import {
	request
} from '@/utils/request.js'

//定义获取banner接口
export const getIndexBannerApi = () => request({
	url: "/homeBanner"
})

//定义获取首页公告接口
export const getNoticeApi = (select = true) => request({
	url: "/wallNewsList",
	data: {
		select
	}
})

//定义获取推荐页日常推荐接口
export const getDayRecommendImgApi = () => request({
	url: "/randomWall"
})

//定义获取专题接口,首页精选select用true
export const getFeaturedTopicsApi = (select = "") => request({
	url: "/classify",
	data: {
		select
	}
})